package top.albertiy.状态模式;

public class State {
    String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void method1() {
        System.out.println("execute the method1!");
    }

    public void method2() {
        System.out.println("execute the method2!");
    }
}
